import tabula
tabs=tabula.read_pdf('test.pdf',\
                  output_format='json',\
                  pages=2,\
                  multiple_tables=True,\
)
print(tabs)
tabula.convert_into('test.pdf','test.csv',output_format='csv')
